<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>storage_list</title>
	<!-- 为IE9之前的版本创造HTML5的元素 -->
	<!--[if lt IE 9]>
		<script>
			var e = ("abbr,article,aside,audio,canvas,datalist,details,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video").split(',');
			for(var i = 1; i < e.length; i++)
				document.createElement(e[i]);
		</script>
	<![endif]-->
	<style type="text/css">
		body{margin:0}
		#s_l_table{
			width:100%;
			padding:5px 20px;
			text-align:center;
		}
		#pageUpDown{
			margin-top:10px;
			width:100%;
			text-align:center;
		}
		#pageUpDown span{
			margin:0 10px;
			cursor:pointer;
		}
		.firstTd{
			width:499px;
			text-align:center;
		}
		.secondTd{
			width:200px;
		}
		.thirdTd{
			width:149px;
		}
		table a{
			text-decoration:none;
			color:#666;
		}
		table a:hover{
			text-decoration:underline;
			color:#FF9000;
		}
	</style>
</head>
<body onload="setheight()">
	<table id="s_l_table">
		<tr>
			<td class="firstTd">标题</td>
			<td class="secondTd">发布时间</td>
			<td class="thirdTd">备注</td>
		</tr>
		<volist name="list" id="vo">
		<tr style="color:#666;">
			<td style="text-align:left;"><a href="__URL__/view?id={$vo.id}" target="_blank" title="{$vo.title}">{$vo.title}</a></td>
			<td>{$vo.publishtime|date="y-m-d h:m:s",###}</td>
			<td>{$vo.comments}</td>
		</tr>
		</volist>
	</table>
	<div id="pageUpDown">
		<span>{$show}</span>
	</div>
	<script>
	function setheight(){
		var newHeight = document.body.scrollHeight;
		window.parent.document.getElementById("storage_list").height = newHeight;
		//以上firefox通过，但是ie6必须加上下面这句，不然iframe高度是改了，但是可见区域没有改
		window.parent.document.getElementById("storage_list").height = newHeight;
	}
	</script>
</body>
</html>
